package com.ruoyi.examination.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 答题记录对象 answer_record
 * 
 * @author hcc
 * @date 2025-10-21
 */
public class AnswerRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 答题记录id */
    private String answerRecordId;

    /** 试卷id */
    @Excel(name = "试卷id")
    private String examPaperId;

    /** 试题id */
    @Excel(name = "试题id")
    private String questionId;

    /** 学生id */
    private String studentId;

    /** 考试记录id */
    private String examRecordId;

    /** 答案 */
    @Excel(name = "答案")
    private String answer;

    /** 答案类型 */
    @Excel(name = "答案类型")
    private String answerType;

    /** 实际得分 */
    @Excel(name = "实际得分")
    private String actualScore;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 是否删除 */
    private String delFlag;

    /** $column.columnComment */
    private String exampleOne;

    /** $column.columnComment */
    private String exampleTwo;

    /** $column.columnComment */
    private String exampleThree;

    /** $column.columnComment */
    private String exampleFour;

    /** $column.columnComment */
    private String exampleFive;

    public String getExamRecordId() {
        return examRecordId;
    }

    public void setExamRecordId(String examRecordId) {
        this.examRecordId = examRecordId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public void setAnswerRecordId(String answerRecordId)
    {
        this.answerRecordId = answerRecordId;
    }

    public String getAnswerRecordId() 
    {
        return answerRecordId;
    }

    public void setExamPaperId(String examPaperId) 
    {
        this.examPaperId = examPaperId;
    }

    public String getExamPaperId() 
    {
        return examPaperId;
    }

    public void setQuestionId(String questionId) 
    {
        this.questionId = questionId;
    }

    public String getQuestionId() 
    {
        return questionId;
    }

    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }

    public void setAnswerType(String answerType) 
    {
        this.answerType = answerType;
    }

    public String getAnswerType() 
    {
        return answerType;
    }

    public void setActualScore(String actualScore) 
    {
        this.actualScore = actualScore;
    }

    public String getActualScore() 
    {
        return actualScore;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setExampleOne(String exampleOne) 
    {
        this.exampleOne = exampleOne;
    }

    public String getExampleOne() 
    {
        return exampleOne;
    }

    public void setExampleTwo(String exampleTwo) 
    {
        this.exampleTwo = exampleTwo;
    }

    public String getExampleTwo() 
    {
        return exampleTwo;
    }

    public void setExampleThree(String exampleThree) 
    {
        this.exampleThree = exampleThree;
    }

    public String getExampleThree() 
    {
        return exampleThree;
    }

    public void setExampleFour(String exampleFour) 
    {
        this.exampleFour = exampleFour;
    }

    public String getExampleFour() 
    {
        return exampleFour;
    }

    public void setExampleFive(String exampleFive) 
    {
        this.exampleFive = exampleFive;
    }

    public String getExampleFive() 
    {
        return exampleFive;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("answerRecordId", getAnswerRecordId())
            .append("examPaperId", getExamPaperId())
            .append("questionId", getQuestionId())
            .append("studentId", getStudentId())
            .append("examRecordId", getExamRecordId())
            .append("answer", getAnswer())
            .append("answerType", getAnswerType())
            .append("actualScore", getActualScore())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("exampleOne", getExampleOne())
            .append("exampleTwo", getExampleTwo())
            .append("exampleThree", getExampleThree())
            .append("exampleFour", getExampleFour())
            .append("exampleFive", getExampleFive())
            .toString();
    }
}
